import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect:'/FangHaoShow'
    },
    {
      path: '/Login',
      
      component: () => import('../views/LoginVue.vue')
    },
    {
      path: '/FangHaoAdd',
      
      component: () => import('../views/FangHaoAdd.vue')
    },
    {
      path: '/FangHaoShow',
      
      component: () => import('../views/FangHaoShow.vue')
    }
  ]
})

export default router
